[INFO] cloning repository https://github.com/dungtm007/redis-rust-challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dungtm007/redis-rust-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdungtm007%2Fredis-rust-challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdungtm007%2Fredis-rust-challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e104a76e98ffe245ee1d8aa4039a7866ba0b948
[INFO] fixing dungtm007/redis-rust-challenge against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdungtm007%2Fredis-rust-challenge" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dungtm007/redis-rust-challenge
[INFO] finished tweaking git repo https://github.com/dungtm007/redis-rust-challenge
[INFO] tweaked toml for git repo https://github.com/dungtm007/redis-rust-challenge written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dungtm007/redis-rust-challenge on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dungtm007/redis-rust-challenge already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.105
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92
[INFO] running `Command { std: "docker" "start" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling syn v2.0.69
[INFO] [stderr]     Checking uuid v1.20.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking moka v0.12.14
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking codecrafters-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `map` in this scope
[INFO] [stdout]   --> src/main.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 match map.get(&key) {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `map` in this scope
[INFO] [stdout]   --> src/main.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 match map.get(&key) {
[INFO] [stdout]    |                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ValueWithExpiry: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:45:17
[INFO] [stdout]     |
[INFO] [stdout]  45 |     let store = Cache::builder()
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ValueWithExpiry`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Cache::<K, V>::builder`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.14/src/sync/cache.rs:690:8
[INFO] [stdout]     |
[INFO] [stdout] 690 |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Cache::<K, V>::builder`
[INFO] [stdout] ...
[INFO] [stdout] 719 |     pub fn builder() -> CacheBuilder<K, V, Cache<K, V, RandomState>> {
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  13 + #[derive(Clone)]
[INFO] [stdout]  14 | pub struct ValueWithExpiry {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ValueWithExpiry: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:45:17
[INFO] [stdout]     |
[INFO] [stdout]  45 |     let store = Cache::builder()
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `ValueWithExpiry`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Cache::<K, V>::builder`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/moka-0.12.14/src/sync/cache.rs:690:8
[INFO] [stdout]     |
[INFO] [stdout] 690 |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Cache::<K, V>::builder`
[INFO] [stdout] ...
[INFO] [stdout] 719 |     pub fn builder() -> CacheBuilder<K, V, Cache<K, V, RandomState>> {
[INFO] [stdout]     |            ------- required by a bound in this associated function
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]     |
[INFO] [stdout]  13 + #[derive(Clone)]
[INFO] [stdout]  14 | pub struct ValueWithExpiry {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `build` exists for struct `CacheBuilder<String, ValueWithExpiry, Cache<String, ValueWithExpiry>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |   pub struct ValueWithExpiry {
[INFO] [stdout]    |   -------------------------- doesn't satisfy `ValueWithExpiry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 45 |       let store = Cache::builder()
[INFO] [stdout]    |  _________________-
[INFO] [stdout] 46 | |         .max_capacity(10_000)
[INFO] [stdout] 47 | |         .expire_after(CustomExpiry)
[INFO] [stdout] 48 | |         .build();
[INFO] [stdout]    | |         -^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ValueWithExpiry: Clone`
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub struct ValueWithExpiry {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `build` exists for struct `CacheBuilder<String, ValueWithExpiry, Cache<String, ValueWithExpiry>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |   pub struct ValueWithExpiry {
[INFO] [stdout]    |   -------------------------- doesn't satisfy `ValueWithExpiry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 45 |       let store = Cache::builder()
[INFO] [stdout]    |  _________________-
[INFO] [stdout] 46 | |         .max_capacity(10_000)
[INFO] [stdout] 47 | |         .expire_after(CustomExpiry)
[INFO] [stdout] 48 | |         .build();
[INFO] [stdout]    | |         -^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    | |_________|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ValueWithExpiry: Clone`
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub struct ValueWithExpiry {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `insert` exists for struct `Cache<String, ValueWithExpiry>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ValueWithExpiry {
[INFO] [stdout]    | -------------------------- doesn't satisfy `ValueWithExpiry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 79 |                 store.insert(key.into(), ValueWithExpiry {
[INFO] [stdout]    |                 ------^^^^^^ method cannot be called on `Cache<String, ValueWithExpiry>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ValueWithExpiry: Clone`
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub struct ValueWithExpiry {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `insert` exists for struct `Cache<String, ValueWithExpiry>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/main.rs:79:23
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ValueWithExpiry {
[INFO] [stdout]    | -------------------------- doesn't satisfy `ValueWithExpiry: Clone`
[INFO] [stdout] ...
[INFO] [stdout] 79 |                 store.insert(key.into(), ValueWithExpiry {
[INFO] [stdout]    |                 ------^^^^^^ method cannot be called on `Cache<String, ValueWithExpiry>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `ValueWithExpiry: Clone`
[INFO] [stdout] help: consider annotating `ValueWithExpiry` with `#[derive(Clone)]`
[INFO] [stdout]    |
[INFO] [stdout] 13 + #[derive(Clone)]
[INFO] [stdout] 14 | pub struct ValueWithExpiry {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `codecrafters-redis` (bin "codecrafters-redis" test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `codecrafters-redis` (bin "codecrafters-redis") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92", kill_on_drop: false }`
[INFO] [stdout] bd265215f229a725035b6db650ead172fd466e3489b4726ef4b1f6ee2d847c92
